package com.zhuhjay.service.system.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author Zhuhjay
 * @since 2023-04-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("system_notice_read")
@ApiModel(value = "SystemNoticeRead对象", description = "")
public class SystemNoticeRead implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("bind id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("公告id")
    private Integer noticeId;

    @ApiModelProperty("阅读时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
